package com.acme.exceptions;

public class NoEnoughFundsException extends BankException {

    private static final long serialVersionUID = -763196697163985912L;
    private double amount;

    public NoEnoughFundsException(final double amount) {
	this.amount = amount;
    }

    public String getError() {
	return "Withdraw amount is incorrect: " + amount;

    }

}
